package com.guofen.dao;

import com.guofen.pojo.SjqWaterProductionEquipmentRunning;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWaterProductionEquipmentRunningMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWaterProductionEquipmentRunning record);

    int insertSelective(SjqWaterProductionEquipmentRunning record);

    SjqWaterProductionEquipmentRunning selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWaterProductionEquipmentRunning record);

    int updateByPrimaryKey(SjqWaterProductionEquipmentRunning record);

    List<SjqWaterProductionEquipmentRunning> findLast();

    List<SjqWaterProductionEquipmentRunning> selectAll();

    List<SjqWaterProductionEquipmentRunning> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}